package com.example.yoho.di.moudles;


import com.example.yoho.mvp.contract.RegisterContract;

import com.example.yoho.mvp.model.RegisterModel;

import dagger.Module;
import dagger.Provides;

@Module
public class RegisterMoudles {


    private RegisterContract.View view;

    public RegisterMoudles(RegisterContract.View view) {
        this.view = view;
    }

    @Provides
    public RegisterContract.View registerView(){
        return view;
    }

    @Provides
    public RegisterContract.Model registerModels(RegisterModel model){
        return model;
    }
}
